﻿namespace Model.Entites
{
    /// <summary>
    /// 回收申请处理
    /// </summary>
    [SugarTable("T_RecycleReqHandle")]
    public class TRecycleReqHandle : ModelStatusBase
    {
        /// <summary>
        /// 申请单ID
        /// </summary>
        public int ReqId { get; set; }

        /// <summary>
        /// 申请单
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(ReqId))]
        public TRecycleReq RecycleReq { get; set; }

        #region 申请审核处理

        /// <summary>
        /// 处理人ID
        /// </summary>
        public int AdminId { get; set; }

        /// <summary>
        /// 处理人
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(AdminId))]
        public TAdminInfo AdminInfo { get; set; }

        /// <summary>
        /// 处理描述
        /// </summary>
        [SugarColumn(ColumnDataType = "LONGTEXT", IsNullable = true)]
        public string HandleDesc { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        [SugarColumn(ColumnDataType = "LONGTEXT", IsNullable = true)]
        public string HandlePicture { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnDataType = "LONGTEXT", IsNullable = true)]
        public string HandleAttachment { get; set; }

        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime HandleTime { get; set; }

        #endregion 申请审核处理
    }
}